<template>
    <div>
       <div id="btn">zhifu </div>
    </div>
</template>
<script>
export default {
    data(){
        return{

        }
    },
    mounted(){
        
    }
}
</script>
<script src="https://www.paypal.com/sdk/js?client-id=AbYXSOCJr7wKGJJ2YNes2QlFIUfAxhdH3MpywHiJroow8Afzs-AB2YwjiQreDmcxPCKQWlZyan0RD3Pa&currency=HKD&vault=true" data-order-id="5O190127TN364715T"></script>
<script>
  window.onload = function(){
      paypal.Buttons({

            createOrder: function(data, actions) {
                // This function sets up the details of the transaction, including the amount and line item details.
                return actions.order.create({
                    purchase_units: [{
                        amount: {
                            value: '0.01'
                        }
                    }]
                });
            }
        }).render('#btn');
  }
</script>

<style scoped>
 
</style>